package com.ruoyi.supermarket.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 超市员工详细信息对象 supermarket_staff
 * 
 * @author faye
 * @date 2024-06-01
 */
public class SupermarketStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 月薪 */
    @Excel(name = "月薪")
    private BigDecimal monthSalary;

    /** 工作时间 */
    @Excel(name = "工作时间")
    private String workingTime;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setMonthSalary(BigDecimal monthSalary) 
    {
        this.monthSalary = monthSalary;
    }

    public BigDecimal getMonthSalary() 
    {
        return monthSalary;
    }
    public void setWorkingTime(String workingTime) 
    {
        this.workingTime = workingTime;
    }

    public String getWorkingTime() 
    {
        return workingTime;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("monthSalary", getMonthSalary())
            .append("workingTime", getWorkingTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("position", getPosition())
            .toString();
    }
}
